Rod = cc.Node.extend({

	ctor:function(parent,tag){
		this._super();
		parent.addChild(this,9,tag);
		this.init(tag);
	},
	init:function(tag){
		if (TAG_ROD_NODE == tag){
		var rod = new Button(this, 12, TAG_ROD, "#rod2.png",this.callback);
        rod.setScale(1,1.5);
		}else if (TAG_ROD_NODE2 == tag){
			var rod = new Button(this, 12, TAG_ROD1, "#rod2.png",this.callback);
			rod.setScale(1,1.5);
		}
	},
	callback:function(p){
		var action = gg.flow.flow.action;
		var func = cc.callFunc(this.actionDone, this);	
		func.retain();
		var hand = new Hand();
		//hand.addrighthand(this, "#hand/hand_left", cc.p(-25,-25),0.6);
		switch(p.getTag()){
		case TAG_ROD:
			var rod=this.getChildByTag(TAG_ROD);
			var move=cc.MoveBy();


			break;


		}
	},

	actionDone:function(p){
		var action = gg.flow.flow.action;
		var func = cc.callFunc(this.actionDone, this);
		switch(p.getTag()){
		case TAG_ROD:
			



			break;


		}
	},

	flowNext:function(){

		gg.flow.next();
		cc.log("下一步"+gg.flow.flow.tag);
	}

});